A collection of information about Data Augmentation libraries for Image Processing.
last updated on 10/10/2023
Augmentor aims to be a standalone library that is platform and framework independent. It employs a stochastic approach using building blocks that allow for operations to be pieced together in a pipeline.
Augmentor is written in Python. A Julia version of the package is also being developed as a sister project.
Transformations | Description | Tags | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1. | It crops the images based on the passed parameters (width and height of the area to be cropped and whether the area to be cropped should be taken from the center of the image or from a random position within the image). |
BASIC GEOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
2. | Crops images by a percentage of their area. |
BASIC GEOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
3. | It crops a random area from an image, based on the area specified in the |
BASIC GEOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
4. | Performs randomised, elastic distortions on images. |
DISTORTION | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
5. | Allows an image to be mirrored along either its x axis or its y axis, or randomly. |
BASIC GEOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
6. | Performs randomised, elastic gaussian distortions on images. |
DISTORTION | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
7. | Converts images into greyscale. |
PHOTOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
8. | Performs histogram equalisation. |
PHOTOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
9. | Inverts the values of the images. |
PHOTOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
10. | It randomly modifies (within given parameters) the brightness of the image. |
PHOTOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
11. | It randomly modifies (within given parameters) the saturation of the image. |
PHOTOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
12. | It randomly modifies (within given parameters) the contrast of the image. |
PHOTOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
13. | Performs a Random Erasing. |
DROPOUT | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
14. | Resizes images by absolute values passed as parameters. |
BASIC GEOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
15. | Performs rotations on images in multiples of 90 degrees. The rotation parameter must be one of 90, 180, 270 or -1 (rotates the image randomly by either 90, 180, or 270 degrees). |
BASIC GEOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
16. | Performs rotations. The returned image has the same dimensions as the original one: after the rotation has been performed, the largest possible area of the same aspect ratio of the original image is cropped from the rotated image, and this is then resized to match the original image size. |
BASIC GEOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
17. | Perform rotations without automatically cropping the images, as opposed to the |
BASIC GEOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
18. | This class is used to increase or decrease images in size by a certain factor, while maintaining the aspect ratio of the original image. |
BASIC GEOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
19. | Shears the images in a certain direction. The shearing can occur along the x or y axis and in both directions (i.e., left or right along the x axis, up or down along the y axis). This transformation returns an image of the same dimension as the input image. The shearing axis is randomized. |
BASIC GEOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
20. | Performs perspective skewing. |
BASIC GEOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
21. | Zooms the images but returns a cropped region of the zoomed image of the same dimension as the original image. The amount of applied zoom is random, between |
BASIC GEOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
22. | Zooms the images but returns a cropped region of the zoomed image of the same dimension as the original image. The amount of applied zoom is random, between |
BASIC GEOMETRY | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
23. | Zooms into random areas of the image. Zooms into a random area of the image, rather than the centre of the image, as is done by |
BASIC GEOMETRY | |||||||||||||||||||||||||
|
Transformations | Description | Tags | |
---|---|---|---|
1. | Adjusts the brightness and contrast of an image according to the formula |
||
2. | Combines the first dimension of a given array into a colorant of type |
||
3. | Converts the element type of the given array/image into the given eltype. This operation is especially useful for converting color images to grayscale (or the other way around). That said, the operation is not specific to color types and can also be used for numeric arrays (e.g. with separated channels). |
||
4. | Crops out the area denoted by the specified pixel ranges. |
CROP | |
5. | Crops out the area denoted by the specified pixel ranges. In contrast to Crop, the position |
CROP | |
6. | Crops out the biggest area around the center of the given image such that the output image satisfies the specified aspect ratio. |
CROP | |
7. | Crops out the area of the specified pixel size around the center of the input image. |
CROP | |
8. | Distorts the given image using a randomly (uniform) generated vector field of the given grid size. |
||
9. | Horizontally flips the input image. |
FLIP | |
10. | Vertically flips the input image. |
FLIP | |
11. | Blurs an image using a Gaussian filter. |
BLUR | |
12. | Crops out the biggest possible area at some random position of the given image, such that the output image satisfies the specified aspect ratio. |
CROP | |
13. | Crops out an area of predefined size at some random position of the given image. |
CROP | |
14. | Resizes the image to a pre-specified fixed size; the aspect ratio of the image is not preserved. |
||
15. | Rotates counterclockwise around the center of the image. |
ROTATION | |
16. | Rotates the image by 180 degrees. |
ROTATION | |
17. | Rotates the image by 270 degrees. |
ROTATION | |
18. | Rotates the image by 90 degrees. |
ROTATION | |
19. | Resizes the image by multiplying the height and width by specified factors; the output image size depends on the size of the input image. |
||
20. | Performs horizontal shear. |
SHEAR | |
21. | Performs vertical shear. |
SHEAR | |
22. | Splits out the color channels of the given image. |
||
23. | Resizes the height and width of the image based on specified factors, but crops the image in a way that maintains the original dimensions. |